package com.ofr.controller.admin;

import com.ofr.ejb.dao.UserDao;
import com.ofr.ejb.entities.User;
import com.ofr.util.Constants;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import javax.annotation.PostConstruct;
import javax.ejb.EJB;
import javax.enterprise.context.RequestScoped;
import javax.faces.context.FacesContext;
import javax.inject.Named;
import javax.servlet.http.HttpSession;

/**
 * Created with IntelliJ IDEA.
 * User: imon
 * Date: 2/23/13
 * Time: 1:37 PM
 * To change this template use File | Settings | File Templates.
 */

@Named
@RequestScoped
public class AdminHomeController implements Constants{

    protected final Log log = LogFactory.getLog(getClass());

    @PostConstruct
    public void init() {
     }

    public String showPendingIssue(){
        return PENDING_ISSUE;
    }

    public String showActiveIssue(){
        return ACTIVE_ISSUE;
    }

    public String showClosedIssue(){
        return CLOSED_ISSUE;
    }
}
